﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Collections;
using Infrastructure.Web.Extensions;
using Microsoft.Practices.Unity;
using Skynet.BusinessEntities;
using Skynet.WebFoundation.Services.Session;
using Infrastructure.Web.Services.Mobile;
using System.Web.Routing;
namespace Skynet.WebSite
{
    public partial class _Default : Infrastructure.Web.Views.Page
    {
        [Dependency]
        public ISessionService SessionService { get; set; }

        [Dependency]
        public IMobileService MobileService { get; set; } 


        protected void Page_PreInit(object sender, EventArgs e)
        {          
                       
        }

        

        protected void Page_Load(object sender, EventArgs e)
        {


            this.Title = Resources.Skynet.GeneralTitle;
            

            if (this.MobileService.IsMobileDevice())
            {           
               
                 Response.Redirect("~/Mobile/Menu/default.aspx");
               
            }            
        }

        protected void Button1_Click(object sender, EventArgs e)
        {


        }
    }
}
